package de.hochschuletrier.bachelor.antfarm;

import org.newdawn.slick.AppGameContainer;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.state.StateBasedGame;

import de.hochschuletrier.bachelor.antfarm.states.SimulationState;

public class AntSimulation extends StateBasedGame {
	public AntSimulation(String name) {
		super(name);
	}

	@Override
	public void initStatesList(GameContainer gc) throws SlickException {
		//addState(new MenuState());
		addState(new SimulationState());
	}

	public static void main(String[] args) {
		AppGameContainer container;
		try {
			container = new AppGameContainer(new AntSimulation("Antsimulation"));
			container.setDisplayMode(1024, 768, false);
			container.setShowFPS(true);
			container.setAlwaysRender(true);
			container.start();
		}
		catch (SlickException e) {
			e.printStackTrace();
		}
	}
}
